﻿using System;

using LMD.Constant;
using LMD.Lib.Interface;

public static class LOVProvider
{
    public static ILOVProvider getProvider(String sxLOVName)
    {
        switch (sxLOVName)
        {
            case KLOV.CompanyProfile.BASICINFOTYPE:
                return new LOV_CompanyBasicInfo();
            case KLOV.CompanyProfile.CONTACTINFOTYPE:
                return new LOV_CompanyContactInfo();
            case KLOV.UserProfile.USERDATATYPE:
                return new LOV_UserDataType();
            case KLOV.Generic.CONTACTPERSON:
                return new LOV_ContactPerson();
            case KLOV.Generic.PICPOSITION:
                return new LOV_PICPosition();
            case KLOV.Generic.ICPUSER:
                return new LOV_ICPUser();
            case KLOV.Generic.FEEDSOURCE:
                return new LOV_FeedSource();
            case KLOV.CourtesyCall.COMPANYLIST:
                return new LOV_CCCompanyList();
            case KLOV.ConfigDatek.NETWORK:
                return new LOV_CompanyNetwork();
            case KLOV.Generic.ICPCAR:
                return new LOV_ICPCAR();
            case KLOV.UFT.FILTERTEMA:
                return new LOV_UFTFilterTema();
            case KLOV.UFT.REASON:
                return new LOV_UFTReason();
            default:
                return null;
        }
    }
}
